package com.andromedasoftech.calipso.services.task;

import java.beans.*;
import java.util.UUID;
import com.andromedasoftech.calipso.entity.*;

public class TaskStateInfo implements INotifyPropertyChange {

    private UUID attribute2;
    private boolean cancelable;
    private String message;
    private int progress;
    private Exception error;
    private TaskState attribute;
    private UUID taskId;

    public UUID getAttribute2() {
        return this.attribute2;
    }

    public boolean isCancelable() {
        return this.cancelable;
    }

    public String getMessage() {
        return this.message;
    }

    public int getProgress() {
        return this.progress;
    }

    public Exception getError() {
        return this.error;
    }

    public TaskState getAttribute() {
        return this.attribute;
    }

    /**
     * 
     * @param listener
     * @return 
     */
    public void addPropertyChangeListener(PropertyChangeListener listener) {
        throw new UnsupportedOperationException();
    }

    /**
     * 
     * @param propertyName
     * @param listener
     * @return 
     */
    public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener) {
        throw new UnsupportedOperationException();
    }

    /**
     * 
     * @param listener
     * @return 
     */
    public void removePropertyChangeListener(PropertyChangeListener listener) {
        throw new UnsupportedOperationException();
    }

    public UUID getTaskId() {
        return this.taskId;
    }
}